package com.jxc.summer.dao;

import java.util.List;
import java.util.Map;

import com.jxc.summer.domain.Account;

public interface AccountMapper {

	public int updateAccountState(Map<String,Object> param);
	public Map<String,Object> countAccountByUsername(String username);
	public Account findByLogin(Map<String,Object> param);
	public int validateAccountUsername(Map<String,Object> param);
	public int validateAccountNickname(Map<String,Object> param);
	public List<Map<String,Object>> selectAll(Map<String,Object> param);
	public int selectCount();
	public List<Map<String, Object>> pageList(Map<String,Object> param);
	public int pageListCount(Map<String,Object> param);
	public int addAccount(Map<String,Object> param);
	public int addAccountCompany(Map<String,Object> param);
	int updateAccountCompany(Map<String,Object> param);
	int deleteAccount(Map<String,Object> param);
	int validateAccountPassword(Map<String, Object> params);
	String getAccountCompanyCode(Map<String, Object> params);
}
